import axios from '@/util/request'

export const queryPage= data =>{
    return axios({
        url:'/comments/page',
        method:'post',
        data:data
    })
}

export const updateIsDelete=(cid,isDelete)=>{
        return axios({
        url:'/comments/update',
        method:'get',
        params:{cid,isDelete}
    })
}